This will launch an application to run along with Hypercard under MultiFinder.
Note:
Version 1.1 of Hypercard makes this XFCN redundant. However, to make your stacks MulitFinder compatible, you should check the version number of HyperCard that is running (using the version property) and use this function if the version is less than 1.1. --Steve D.
-- part contents for background part 7
----- text -----
Syntax:
SubLaunch(programName,docName)
sublaunches the program with optional attached document. Both HyperCard and the specified program will then be running, memory permitting (at least 2
Meg!). If the arguments have no colons in them (not a pathname), then the “Look for applications in:” etc. cards in the Home stack are consulted.
SubLaunch return 0 for success, negative numbers for Operating System errors, and small positive numbers for parameter errors, or lack of memory.